home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-09-18 | 622 b | 28 lines | [TEXT/ToyS] |
-
- -- read some data from the database
- tell application "FileMaker Pro"
- set x to every cell of field "Subtotal"
-
- set y to every cell of field "Bill to name"
- end tell
-
- -- how many records read?
- set n to count x
-
- tell application "KnowledgeMiner 3.2"
- activate
-
- close document 1
- make new document
- delay 5
-
- set name of document 1 to "FileMaker Data Transfer"
- set name of column 2 to "Subtotal"
- set name of column "Sample" to "Requested by"
-
- repeat with i from 1 to n
- set value of cell (i + 1) of column "B" to item i of x
- set value of cell (i + 1) of column "Requested by" to item i of y
- end repeat
- end tell
-